Skip to content

Specify packages explicitly in pyproject.toml to fix #535#536

Open
jg-z wants to merge 2 commits intogoogle:mainfrom
jg-z:issue-535
Open

Specify packages explicitly in pyproject.toml to fix #535#536
jg-z wants to merge 2 commits intogoogle:mainfrom
jg-z:issue-535

Conversation

@jg-z
Copy link

@jg-z jg-z commented Feb 25, 2026

  • Specify packages explicitly in pyproject.toml to fix cloudforensics CLI error "No module named 'tools'" #535
  • Fix incorrect escaping in argparse calls: % should be escaped as %% see argparse. This was causing errors with Python 3.14:
    File "/[...]/3.14/lib/python3.14/argparse.py", line 1744, in _check_help
        formatter._expand_help(action)
        ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
      File "/[...]/3.14/lib/python3.14/argparse.py", line 672, in _expand_help
        return help_string % params
               ~~~~~~~~~~~~^~~~~~~~
    ValueError: unsupported format character 'Y' (0x59) at index 56
    

Tests, linter and type-checker (warnings for Azure libs) passing for 3.12.

@jg-z jg-z requested a review from a team as a code owner February 25, 2026 13:38
@jg-z jg-z requested review from tomchop and removed request for a team February 25, 2026 13:38
@google-cla
Copy link

google-cla bot commented Feb 25, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Fryyyyy
Copy link
Collaborator

Fryyyyy commented Feb 25, 2026

Thank you for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cloudforensics CLI error "No module named 'tools'"

2 participants